﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity
{
    /// <summary>
    /// 用户代理关系表
    /// </summary>
    [Table("Himall_AgentRelationInfo")]
    public class AgentRelationInfo : BaseModel
    {
        long _id;
        public new long Id { get { return _id; } set { _id = value; base.Id = value; } }
        public long UserId { get; set; } = 0;
        /// <summary>
        /// 一级代理
        /// </summary>
        public long AgentOneId { get; set; } = 0;
        /// <summary>
        /// 二级代理
        /// </summary>
        public long AgentTwoId { get; set; } = 0;
        /// <summary>
        /// 三级代理
        /// </summary>
        public long AgentThreeId { get; set; } = 0;
    }
}
